package com.cc.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-22 14:34:06
 */
@Data
@TableName("cc_rotation_chart")
public class RotationChartEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 轮播图id
	 */
	@TableId
	@ApiModelProperty("轮播图id")
	private Long id;
	/**
	 * 轮播图src
	 */
	@ApiModelProperty("轮播图src")
	private String rotationChart;
	/**
	 * 播出状态0停播1播出
	 */
	@ApiModelProperty("播出状态0停播1播出")
	private Integer status;

	/**
	 * 后台所需字段，前台无需
	 */
	@ApiModelProperty("后台所需字段，前台无需")
	@TableField(exist = false)
	private List<String> rotationCharts;

}
